home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wdj0797.zip / ZOLMAN.ZIP / MYSPLI~1.H < prev    next >
C/C++ Source or Header  |  1996-11-18  |  2KB  |  62 lines

  1. // MySplitterView.h : interface of the CMySplitterView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMySplitterView : public CFormView
  6. {
  7. protected: // create from serialization only
  8.     CMySplitterView();
  9.     DECLARE_DYNCREATE(CMySplitterView)
  10.  
  11. public:
  12.     //{{AFX_DATA(CMySplitterView)
  13.     enum{ IDD = IDD_MYSPLITTER_FORM };
  14.         // NOTE: the ClassWizard will add data members here
  15.     //}}AFX_DATA
  16.  
  17. // Attributes
  18. public:
  19.     CMySplitterDoc* GetDocument();
  20.  
  21. // Operations
  22. public:
  23.  
  24. // Overrides
  25.     // ClassWizard generated virtual function overrides
  26.     //{{AFX_VIRTUAL(CMySplitterView)
  27.     public:
  28.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  29.     protected:
  30.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  32.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  33.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  34.     virtual void OnPrint(CDC* pDC, CPrintInfo*);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. public:
  39.     virtual ~CMySplitterView();
  40. #ifdef _DEBUG
  41.     virtual void AssertValid() const;
  42.     virtual void Dump(CDumpContext& dc) const;
  43. #endif
  44.  
  45. protected:
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CMySplitterView)
  50.         // NOTE - the ClassWizard will add and remove member functions here.
  51.         //    DO NOT EDIT what you see in these blocks of generated code !
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. #ifndef _DEBUG  // debug version in MySplitterView.cpp
  57. inline CMySplitterDoc* CMySplitterView::GetDocument()
  58.    { return (CMySplitterDoc*)m_pDocument; }
  59. #endif
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62.